#创建缓存文件路径
import os

PYINCORE_PACKAGE_HOME = os.path.dirname(__file__)
PYINCORE_ROOT_FOLDER = os.path.dirname(os.path.dirname(__file__))
USER_HOME = os.path.expanduser('~')
print(PYINCORE_PACKAGE_HOME)
print(PYINCORE_ROOT_FOLDER)
print(USER_HOME)

USER_CACHE_DIR = ".incore"
PYINCORE_USER_CACHE = os.path.join(USER_HOME, USER_CACHE_DIR)
DATA_CACHE_FOLDER_NAME = "cache_data"
PYINCORE_USER_DATA_CACHE = os.path.join(PYINCORE_USER_CACHE, DATA_CACHE_FOLDER_NAME)
print(PYINCORE_USER_CACHE)
print(PYINCORE_USER_DATA_CACHE)


